package cn.wolfcode.wolf2w.repository;

import cn.wolfcode.wolf2w.domain.FansFollow;
import cn.wolfcode.wolf2w.domain.Visitor;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface FansFollowRepository extends MongoRepository<FansFollow, String> {
    /**
     * 根据uid查询表中对象
     * @param uid
     * @return
     */
    FansFollow findByUid(String uid);
}
